package com.lyl.cloud;

import com.lyl.rule.MyRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient
@LoadBalancerClient(name = "CLOUD-PROVIDER-PAYMENT-SERVICE",configuration = MyRule.class)
public class LbOrderMain {
    public static void main(String[] args) {
        SpringApplication.run(LbOrderMain.class, args);
    }
}
